/**
 * Created by 李海强1 on 2016/10/19.
 */
Ext.define("UDZ.view.personal.Myinfo_change_email", {
    extend : 'Ext.Panel',
    xtype: 'changeEmail',
    requires:[
        'Ext.field.DatePicker'
    ],
    config: {
        xtype:'panel',
        fullscreen:true,
        cls:'change_email',
        style:'background-color:white;',
        layout:{
            type:'vbox'
        },
        items:[
            {
                xtype:'toolbar',
                title:'我的邮箱',
                items:[
                    {
                        xtype:'image',
                        cls:'myinfo_back',
                        id:'email_back_myinfo',
                        src:'resources/images/left-arrow.png',
                    }
                ]
            },
            {
                flex:2,
                style:'margin-top:40px',
                html:[
                    '<div style="margin-top: 40px;color:#ffa439;font-size: 1em;padding-left: 5%;font-weight:300;">' +
                    '<img src="resources/images/tell.png" width="24px">' +
                    '<span class="tell_you">该邮箱用于找回密码</span>' +
                    '</div>'
                ],
                items:[
                    {
                        xtype:'formpanel',
                        scrollable:false,
                        cls:'border-color',
                        style:'margin:auto;position:relative',
                        height:'48px',
                        width:'90%',
                        items:[
                            {
                                xtype:'textfield',
                                name:'nick',
                                placeHolder:'请输入你的邮箱',
                                clearIcon:true,
                            }
                       ]
                    },
                    {
                        xtype:'button',
                        text:'保存',
                        cls:'nick_save_btn'
                    }
                ]
            }
        ]
    }
});
